POV-Ray : Newsgroups : povray.programming : How to Build a GUI Extension to POV-Ray for Windows. : Trouble persisting Enabled state. Need Help. Server Time
28 Jul 2024 08:24:54 EDT (-0400)
  Trouble persisting Enabled state. Need Help.  
From: Andrew Wilcox
Date: 5 Aug 2002 09:49:25
Message: <3d4e8265$1@news.povray.org>
I cannot do an (*Instance->Request)(RequestGetVars, &ExternalVars) ; in the
following method. I assume its because POV hasn't fully initialized Instance
yet. I need to know the Instance.HomePath so that I can read my .ini file
and initialize Instance.Enabled correctly.

What do I do?

Is there some place else I can set Enabled after POV has initialized the
DLL?  Or do I just have to know the directory where POV is installed,
without being able to ask POV itself?

Thanks in advance,

Andrew Wilcox


--
#macro Q(A,E,W)box{-A/2,A/2pigment{rgb 9*W}translate E*A+W/1000}#end#macro
M(D,E)#local A=1/pow(3,D);#if(D<3)#local C=D+1;union{M(C,1)M(C,x+y)M(C,x+z)
M(C,y+z)M(C,x+y-z)M(C,x+z-y)M(C,y+z-x)M(C,x-y)M(C,z-x)M(C,y-z)M(C,y-x)M(C,
x-z)M(C,z-y)M(C,x-y-z)M(C,y-x-z)M(C,z-x-y)translate A*E}#else Q(A,E,x)Q(A,E
,y)Q(A,E,z)#end#end union{M(0,0)rotate<45,145,0>translate z*2}//Andrew
"Tom Galvin" <tom### [at] dataforgenospamcom> wrote in message
news:3d4884d9$1@news.povray.org...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.